package com.tanhua.dubbo.api.db;

import com.tanhua.domain.db.SoultestOption;
import com.tanhua.dubbo.mapper.SoultestOptionMapper;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class SoultestOptionApiImpl implements SoultestOptionApi {
    @Autowired
    private SoultestOptionMapper soultestOptionMapper;

    @Override
    public List<SoultestOption> getOptions(Long id) {
        List<SoultestOption> options = soultestOptionMapper.getOptions(id);
        return options;
    }

    @Override
    public List<SoultestOption> getScore(List<Long> ids) {
        return soultestOptionMapper.getScore(ids);
    }
}
